package com.probiz.estore.order.service.impl;

import com.probiz.estore.common.model.order.OrderAddress;
import com.probiz.estore.core.service.impl.GenericManagerImpl;
import com.probiz.estore.order.dao.OrderAddressDao;
import com.probiz.estore.order.service.OrderAddressManager;


/**
 * Manager implementation for OrderAddress, responsible for business processing, and communicate between web and persistence layer.
 */
public class OrderAddressManagerImpl extends GenericManagerImpl<OrderAddress> implements OrderAddressManager {

	private OrderAddressDao orderAddressDao = null;

	
	public void setOrderAddressDao(OrderAddressDao orderAddressDao) {
		this.orderAddressDao = orderAddressDao;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.probiz.estore.core.service.impl.GenericManagerImpl#init()
	 */
	@Override
	protected void initManager() {
		dao = orderAddressDao;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.probiz.estore.core.service.impl.GenericManagerImpl#preDelete(java.lang.Object)
	 */
	@Override
	protected void preDelete(OrderAddress entity) {

	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.probiz.estore.core.service.impl.GenericManagerImpl#preSave(java.lang.Object)
	 */
	@Override
	protected void preSave(OrderAddress entity) {

	}

}
